<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <canvas id="demo"></canvas>
    <script src="./js/text-image/text-image.iife.js"></script>
    <script>
        textImage.createTextImage({
            canvas: document.getElementById("demo"),
            replaceText: 'a',
            source: {
                video: './img/1.mp4',
                width: 400,
                height: 500
            }
        })
    </script>
</body>
</html>